//
//  MineAddressTableViewCell.m
//  renmingongshe
//
//  Created by macbook on 2017/11/2.
//  Copyright © 2017年 xiaodian. All rights reserved.
//

#import "MineAddressTableViewCell.h"

@implementation MineAddressTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)cellConfigureDic:(NSDictionary *)dic
{
    _UserNameLabel.text = [NSString stringWithFormat:@"收件人:%@", dic[@"userName"]];
    _PhoneLabel.text = [NSString stringWithFormat:@"%@", dic[@"userPhone"]];
    _AddressLabel.text = [NSString stringWithFormat:@"%@%@",dic[@"areaName"], dic[@"userAddress"]];
    if ([dic[@"isDefault"] boolValue]) {
        [_DefaultImg setImage:[UIImage imageNamed:@"Login_agree"]];
    }else{
        [_DefaultImg setImage:[UIImage imageNamed:@"Login_disagree"]];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
